Mounting to a Different NFS

To mount to a different NFS after installation:

1 Make sure the NFS can accept both the DSP2 card and Vocalocity server. In the case of SNAP appliance, just make sure those two addresses are listed in the SNAP database.

2 On the VocalOS server, at the "/" directory, create a SNAP directory.

mkdir SNAP

3 Mount the VocalOS Server to the NFS.

mount <IP of SNAP server>:/<mount directory on SNAP>/SNAP

The mount directory is the point from which everything has a relative directory. /SNAP is the directory you created on the VocalOS server.

4 Change the audioDir and NFS prefix in the vocalos-node.xml file, located in /opt/VocalOS/Server/server/nodeserver/conf.

Important: The VocalOS server deletes the contents of this directory when it starts up. Be sure to back up any files you have in this directory that must be saved.

5 Search for audioDir and change the value to the directory that you made on the VocalOS server (/SNAP).

6 Search for nfsPrefix and change the nsfPrefix value to <relative path from the mount point>. For example, if you want to write files directly to the mount, you would enter:

"nfsPrefix" value=""

Load Balancing NFS Servers for Media

If your implementation uses one NFS server, it was installed and configured correctly during installation – you do not have to perform any additional configuration. If you are using more than one NFS server, use the configuration in this section.

You can map an audio directory to the Excel NFS mount directory. This allows you to use a round robin strategy for creating media files for audio. To do this, set the following keys in the vocalos-node.xml file:

u audioDir – in the MediaManager node. This setting lists the directories in which to create media files. The directories are mount directories on the VocalOS server. List all directories on one line, separated by a semicolon (;).

u nfsPrefix – in the ChannelManager node. This setting maps the VocalOS server mount directories to the corresponding mount directories on the Excel switch.

Enter the nfsPrefix map as follows:

serverid:vocalosdir/:excelswitchdir/

If you have more than one entry, list them all on one line, separated by a semicolon (;). For example:

serverid:vocalosdir/:excelswitchdir/;serverid:vocalosdir/:excelswitchdir/

Example

The following example configures two audio directories (audioDir) on the VocalOS server and maps them to the Excel switch mount points (nfsPrefix).

VocalOS Server Mount

Switch Mount

Switch Server ID

/atg3/vocalos2/tmp/atg2

/vocalos2/tmp/atg2

1

/martha/vocalos/tmp/atg2

/vocalos/tmp/atg2

2

<node name="MediaManager">

<map/>

<node name="vocalos:type=MediaManager">

<map>

...

<entry key="audioDir" value="/atg3/vocalos2/tmp/atg2;/martha/vocalos/tmp/atg2"/>

...

 

<node name="ChannelManager">

<map/>

<node name="vocalos:type=ChannelManager,vendor=Vocalocity,protocol=XMLRPC">

<map>

...

 

<entry key="nfsPrefix" value="1:/atg3/vocalos2/tmp/atg2/:/vocalos2/tmp/atg2/;2:/martha/vocalos/tmp/atg2/:/vocalos/tmp/atg2/"/>